package com.model;

/**
 * Bpm_bis_opeId entity. @author MyEclipse Persistence Tools
 */

public class Bpm_bis_opeId implements java.io.Serializable {

	// Fields

	private String bpm_ope_id;
	private String bpm_ope_ver;

	// Constructors

	/** default constructor */
	public Bpm_bis_opeId() {
	}

	/** full constructor */
	public Bpm_bis_opeId(String bpm_ope_id, String bpm_ope_ver) {
		this.bpm_ope_id = bpm_ope_id;
		this.bpm_ope_ver = bpm_ope_ver;
	}

	// Property accessors

	public String getBpm_ope_id() {
		return this.bpm_ope_id;
	}

	public void setBpm_ope_id(String bpm_ope_id) {
		this.bpm_ope_id = bpm_ope_id;
	}

	public String getBpm_ope_ver() {
		return this.bpm_ope_ver;
	}

	public void setBpm_ope_ver(String bpm_ope_ver) {
		this.bpm_ope_ver = bpm_ope_ver;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bpm_bis_opeId))
			return false;
		Bpm_bis_opeId castOther = (Bpm_bis_opeId) other;

		return ((this.getBpm_ope_id() == castOther.getBpm_ope_id()) || (this
				.getBpm_ope_id() != null && castOther.getBpm_ope_id() != null && this
				.getBpm_ope_id().equals(castOther.getBpm_ope_id())))
				&& ((this.getBpm_ope_ver() == castOther.getBpm_ope_ver()) || (this
						.getBpm_ope_ver() != null
						&& castOther.getBpm_ope_ver() != null && this
						.getBpm_ope_ver().equals(castOther.getBpm_ope_ver())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getBpm_ope_id() == null ? 0 : this.getBpm_ope_id()
						.hashCode());
		result = 37
				* result
				+ (getBpm_ope_ver() == null ? 0 : this.getBpm_ope_ver()
						.hashCode());
		return result;
	}

}